import treeToArray from 'src/utils/customEval';
var data:any;
export default{
    dataCreator: function(){
        if(data)return data;
        let obj:TreeListData = {} as any;
        obj.func = treeToArray;
        obj.expandAll = false;
        obj.args = [null, null, "timeLine"];
        // obj.data =  {
        //     id: 1,
        //     event: "事件1",
        //     timeLine: 100,
        //     comment: "无",
        //     hasChildren: true,
        // };
        obj.data = [];
        data = obj;
        return obj;
    }
}